package com.ruoyi.supermarket.bean;

import com.ruoyi.supermarket.domain.Product;
import com.ruoyi.supermarket.domain.ProductAttribute;
import com.ruoyi.supermarket.domain.ProductSku;

import java.util.List;

/**
 * 商品详情
 * @author 李其伟
 * @date 2023/08/31
 */
public class ProductDetail {

    private Product product;

    private List<ProductAttribute> productAttributeList;

    private List<ProductSku> productSkuList;


    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public List<ProductAttribute> getProductAttributeList() {
        return productAttributeList;
    }

    public void setProductAttributeList(List<ProductAttribute> productAttributeList) {
        this.productAttributeList = productAttributeList;
    }

    public List<ProductSku> getProductSkuList() {
        return productSkuList;
    }

    public void setProductSkuList(List<ProductSku> productSkuList) {
        this.productSkuList = productSkuList;
    }

    @Override
    public String toString() {
        return "ProductDetail{" +
                "product=" + product +
                ", productAttributeList=" + productAttributeList +
                ", productSkuList=" + productSkuList +
                '}';
    }
}
